package com.oxchinx.product.model.enums;

import lombok.Getter;

/**
 * 商品上下架状态
 * Created by dell on 2018/5/21.
 */
@Getter
public enum ProductStatusEnum {
    UP(0,"up","在架"),
    DOWN(1,"down","下架"),
    ;

    private Integer code;
    private String name;
    private String desc;

    ProductStatusEnum(Integer code, String name,String desc) {
        this.code = code;
        this.name = name;
        this.desc = desc;
    }
}
